Skip to content

Updating dependencies, updating rollup config file#13

Open
LostInBrittany wants to merge 5 commits intodenisemauldin:masterfrom
LostInBrittany:master
Open

Updating dependencies, updating rollup config file#13
LostInBrittany wants to merge 5 commits intodenisemauldin:masterfrom
LostInBrittany:master

Conversation

@LostInBrittany
Copy link
Copy Markdown

Hi! Thanks a lot for having updated this module to D3 version 4+!

I am using it in a D3 v5 project (it works great!), so after having tested it, you have here a PR updating the dependencies (normal, peer and dev). As recent Rollup versions have changed the format of the config file, I've also updated it.

Thanks again for the good job!

@denisemauldin
Copy link
Copy Markdown
Owner

Hi @LostInBrittany !

Thanks for the PR. I think the package-lock.json gets generated by npm v5 right? I know there's some debate on whether or not to commit it to source control. What do you think are the advantages of including it comparing to having npm regenerate it?

@LostInBrittany
Copy link
Copy Markdown
Author

LostInBrittany commented Apr 27, 2018 via email

@LostInBrittany
Copy link
Copy Markdown
Author

Hi! I've updated the PR as I have changed the default for colors() to d3.scaleOrdinal(d3.schemeCategory10) instead of d3.scaleOrdinal(d3.schemeCategory20).

The reason is that d3.schemeCategory20 has been removed from d3 v5.

@LostInBrittany
Copy link
Copy Markdown
Author

Hi!

There are some errors I need to check before being able to submit you the PR in full confidence, I close it by now and I will reopen it as soon as I will fix them.

@LostInBrittany
Copy link
Copy Markdown
Author

Ok, I made all the examples work :)

I had a problem with allowZoom. As written, it only allows zoom is allowZoom(false) is configured.
As I understand it should the the oposite, I have change it. If I am wrong, sorry about that!

@LostInBrittany
Copy link
Copy Markdown
Author

Hello!

When do you think you will have a moment to look at this PR?

Sorry to insist, I am using it in an app, and I would prefer dropping the dependency to my fork and put this one :)

@denisemauldin
Copy link
Copy Markdown
Owner

@LostInBrittany Ah, I didn't realize you were done trying to fix it. :) Everything is working now?

@LostInBrittany
Copy link
Copy Markdown
Author

LostInBrittany commented May 22, 2018 via email


if (! allowZoom) {
}
if (allowZoom) {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There needs to be a default zoom. The default zoom is what allows the sideways scrolling in the days_scrollable.html. Why was this change necessary?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I commented on that jon the PR thread :)

I had a problem with allowZoom. As written, it only allows zoom is allowZoom(false) is configured.
As I understand it should the the oposite, I have change it. If I am wrong, sorry about that, I guess I don't see the semantics/meaning of the allowZoom method :(

@denisemauldin
Copy link
Copy Markdown
Owner

@LostInBrittany This PR results in a change in functionality. Please address comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants